﻿<Window x:Class="CL_Searcher.SettingsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Settings" Height="278" Width="368" ResizeMode="NoResize" Icon="Icon.png">
    <Grid>
        <Label Content="Server" HorizontalAlignment="Left" Margin="10,8,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txt_EmailServer" HorizontalAlignment="Left" Height="23" Margin="95,10,0,0" TextWrapping="Wrap" Text="{Binding EmailServer, Mode=TwoWay}" VerticalAlignment="Top" Width="239"/>
        <Label Content="Port" HorizontalAlignment="Left" Margin="10,36,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txt_EmailPort" HorizontalAlignment="Left" Height="23" Margin="95,38,0,0" TextWrapping="Wrap" Text="{Binding EmailPort, Mode=TwoWay}" VerticalAlignment="Top" Width="239"/>
        <CheckBox x:Name="ckb_EmailUseSSL" Content="Use SSL" HorizontalAlignment="Left" Margin="10,67,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.239,0.333" IsChecked="{Binding EmailUseSSL, Mode=TwoWay}"/>
        <Label Content="Username" HorizontalAlignment="Left" Margin="10,88,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txt_EmailUsername" HorizontalAlignment="Left" Height="23" Margin="95,90,0,0" TextWrapping="Wrap" Text="{Binding EmailUsername, Mode=TwoWay}" VerticalAlignment="Top" Width="239"/>
        <Label Content="Password" HorizontalAlignment="Left" Margin="10,118,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txt_EmailPassword" HorizontalAlignment="Left" Height="23" Margin="95,120,0,0" TextWrapping="Wrap" Text="{Binding EmailPassword, Mode=TwoWay}" VerticalAlignment="Top" Width="239"/>
        <Label Content="From Address" HorizontalAlignment="Left" Margin="10,146,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txt_EmailFromAddress" HorizontalAlignment="Left" Height="23" Margin="95,148,0,0" TextWrapping="Wrap" Text="{Binding EmailFromAddress, Mode=TwoWay}" VerticalAlignment="Top" Width="239"/>
        <Label Content="To Address" HorizontalAlignment="Left" Margin="10,174,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="txt_EmailToAddress" HorizontalAlignment="Left" Height="23" Margin="95,176,0,0" TextWrapping="Wrap" Text="{Binding EmailToAddress, Mode=TwoWay}" VerticalAlignment="Top" Width="239"/>
        <Button x:Name="btn_TestEmail" Content="Test Email" HorizontalAlignment="Left" Margin="10,205,0,0" VerticalAlignment="Top" Width="75" Click="Btn_TestEmail_Click"/>
    </Grid>
</Window>
